package com.joven.security.dao;

import com.joven.security.model.SysUser;

import java.util.List;

/**
 * @Author wzj
 * @Date 2023-03-01 15:28
 **/
public interface  SysUserDao {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectByUserName(String name);

    List<String> selectMenusByUserId(Long id);
}
